package com.jw.springcloud.dao;

import com.jw.springcloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author jiangwang
 * @Created by 2021/3/23 14:16
 * @Description: TODO
 */
@Mapper
@Repository
public interface DeptDao {

    boolean addDept(Dept dept);

    Dept queryById(long id);

    List<Dept> queryAll();
}
